package org.example.java.io;

import java.io.File;

/**
 * Created by Juntao.Zhang on 2014/10/10.
 */
public class ClassResourceTest {
  public static void main(String[] args) {
    File dir = new File(ClassResourceTest.class.getResource("/conf").getFile());
    System.out.println(dir.listFiles().length);
    System.out.println(ClassResourceTest.class.getResourceAsStream("/beans.xml"));
  }
}
